package com.milo;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 应用入口
 * @author milogenius
 * @date 2020/4/21 15:42
 *
 */
@Slf4j
@SpringBootApplication(
        scanBasePackages = "com.milo" ,
        exclude = { DataSourceAutoConfiguration.class })
@MapperScan(
        basePackages = "com.milo.mapper"
)
public class MybatisApplication {

    public static void main(String[] args) {
        SpringApplication.run(MybatisApplication.class, args);
        log.info("(♥◠‿◠)ﾉﾞ  SpringBoot整合Mybatis项目启动成功   ლ(´ڡ`ლ)ﾞ  \n" );
    }

}
